﻿<%@ Page Title="Mi Cuenta" Language="VB" MasterPageFile="~/Plantilla1.master" AutoEventWireup="false" CodeFile="CMiCuenta.aspx.vb" Inherits="CMiCuenta" %>
<%@ MasterType VirtualPath="~/Plantilla1.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link rel="stylesheet" href="css/custom-theme/jquery-ui-1.8.17.custom.css"/>
	<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
	<script type="text/javascript" src="js/jquery.ui.core.js"></script>
	<script type="text/javascript" src="js/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="js/jquery.ui.accordion.js"></script>
    <script type="text/javascript" src="js/jquery.ui.button.js"></script>
    <link rel="stylesheet" href="css/demos.css"/>
	<script type="text/javascript">
	    $(function () {
	        $("#accordion").accordion();
	    });
	</script>
    <%--<script type="text/javascript">
        $(function () {
            $("input:submit,  button", ".demo").button();
            $( ".demo").click(function () { return false; });
        });
	</script>--%>

    <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
        <script src="/resources/demos/external/jquery.bgiframe-2.1.2.js"></script>
        <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
        <link rel="stylesheet" href="/resources/demos/style.css" />
        <script>
            $(function () {
                $("#dialog-message").dialog({
                    modal: true,
                    buttons: {
                        Ok: function () {
                            $(this).dialog("close");
                        }
                    }
                });
            });
        </script>

        <style type="text/css">
                .style1
                {
                    height: 19px;
                    text-align: center;
                }
        
            .style2
            {
                font-size: small;
            }
        
            .style3
            {
                font-size: medium;
            }
        
            .style4
            {
                font-size: x-small;
            }
        </style>



</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <% If (Session("cliente") = "") Then%>
        
        <%--Mensaje de aviso para que se loguee--%>
        <div id="dialog-message" title="Aviso">
        <p>
        <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>
        Debe estar <b>Logueado</b> para poder actualizar tus datos.
        </p>
        <p>
        Si no tienes cuenta. Regístrate.
        </p>
        </div>
        
        <%Response.Redirect("Home.aspx")%>
        
    <% End If%>
    
    
    <form id="form2" >
    <div class="center_title_bar2">
        <asp:Label ID="Label2" runat="server" Text="Mi Cuenta" 
            style="font-size: xx-large; color: #63717C; font-family: Garamond;"></asp:Label>
    </div>
    <br/><br/>
    <div>
        &nbsp;&nbsp;<span class="style3">Bienvenido</span>&nbsp;
        <asp:Label ID="lblClienteSession" runat="server" style="font-size: medium; color: #808080"></asp:Label>
    </div>

                <div>
                    <div class="demo">

                        <div id="accordion">
	                        <h3><a href="#">Actualizar Datos</a></h3>
	                        <div>
                                <table style="width: 100%;">
                                    <%--<tr>
                                        <td class="style1" colspan="3">
                                            <strong><span class="style2">CLIENTE</span></strong>
                                        </td>
                                    </tr>--%>
                                    <tr>
                                        <td width="25%" class="style4">
                                            E-Mail</td>
                                        <td width="50%">
                                            <asp:TextBox ID="txtEmail" runat="server" CssClass="style4" Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Password</td>
                                        <td>
                                            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" 
                                                CssClass="style4" Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                        <%--<td>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ErrorMessage="Ingrese Password" ControlToValidate="txtPassword" 
                                                Display="Dynamic" ForeColor="Red" style="font-size: x-small"></asp:RequiredFieldValidator>
                                        </td>--%>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Nombres</td>
                                        <td>
                                            <asp:TextBox ID="txtNombres" runat="server" CssClass="style4" 
                                                Font-Size="X-Small"></asp:TextBox>
                                            &nbsp;
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Apellidos</td>
                                        <td>
                                            <asp:TextBox ID="txtApellidos" runat="server" CssClass="style4" 
                                                Font-Size="X-Small"></asp:TextBox>
                                            &nbsp;
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Dirección</td>
                                        <td>
                                            <asp:TextBox ID="txtDireccion" runat="server" CssClass="style4" 
                                                Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Teléfono</td>
                                        <td>
                                            <asp:TextBox ID="txtTelefono" runat="server" CssClass="style4" 
                                                Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Tipo Documento</td>
                                        <td>
                                            <asp:DropDownList ID="cboTipoDoc" runat="server">
                                                <asp:ListItem>DNI</asp:ListItem>
                                                <asp:ListItem>Pasaporte</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style4">
                                            Nro. Documento</td>
                                        <td>
                                            <asp:TextBox ID="txtNroDoc" runat="server" CssClass="style4" 
                                                Font-Size="X-Small"></asp:TextBox>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td><asp:Button ID="btnActualizarCliente" runat="server" Text="Actualizar Datos" 
                                                style="font-size: x-small; text-align: left;" /></td>
                                        <td></td>
                                    </tr>
                                </table>
	                        </div>
	                        
	                        <h3><a href="#">Favoritos</a></h3>
	                        <div>
                                <table style="width: 100%;">
                                    <tr>
                                        <td>
                                            Foto
                                        </td>
                                        <td>
                                            <img src="images/decepticon.jpg" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Equipo Móvil Favorito
                                        </td>
                                        <td>
                                            <img src="images/nokia900.jpg" />
                                        </td>
                                    </tr>
                                 </table>
	                        </div>
	                        
                        </div>

                    </div>
    
            </div>

    </form>

</asp:Content>

